package com.hu.zhcc.shiro.service.xsx;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.xsx.TMubanJiankangMapper;
import com.hu.zhcc.shiro.entity.xsx.XsxTMubanJiankang;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xsx
 * @since 2021-06-22
 */
@Service
public class TMubanJiankangServiceImpl extends ServiceImpl<TMubanJiankangMapper, XsxTMubanJiankang> implements TMubanJiankangService {
    @Autowired
    TMubanJiankangMapper tMubanJiankangMapper;

    @Override
    public int addOne(XsxTMubanJiankang tMubanJiankang) {
        return tMubanJiankangMapper.addOne(tMubanJiankang);
    }

    @Override
    public List<XsxTMubanJiankang> queryCheckId(int id) {
        return tMubanJiankangMapper.queryCheckId(id);
    }

    @Override
    public int deleteByMbid(int id) {
        return tMubanJiankangMapper.deleteByMbid(id);
    }
}
